<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ReadPreferenceLong</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ReadPreferenceLong()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>ReadPreferenceLong</b></font>(Key$, DefaultValue)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Try to read the specified associated 'Key$' value. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Key$</i></td>
<td width="90%"> 
 
The key to read the value from. If <a href="preferencegroup.html">PreferenceGroup()</a> has been 
used, then the search is restricted to the current group. 

 

</td></tr>
<tr><td><i>DefaultValue</i></td>
<td> 
 
The default value to return if the key isn't found or the 
preference file haven't been opened correctly (file missing for example). 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



The value associated to the specified key, as a long number. if the key isn't found 
the default value is returned. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="readpreferencedouble.html">ReadPreferenceDouble()</a>, <a href="readpreferencefloat.html">ReadPreferenceFloat()</a>, <a href="readpreferenceinteger.html">ReadPreferenceInteger()</a>, <a href="readpreferencequad.html">ReadPreferenceQuad()</a>, <a href="readpreferencestring.html">ReadPreferenceString()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=readpreferenceinteger.html>ReadPreferenceInteger()</a> - <a href=index.html>Preference Index</a> - <a href=readpreferencequad.html>ReadPreferenceQuad()</a> -&gt;



</body></html>